package com.ems.service;

import com.ems.entity.TUser;
import com.ems.entity.TUserRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ZZH
 * @since 2022-06-27
 */
public interface TUserRoleService extends IService<TUserRole> {

    //查找数据(单）
    TUserRole findOne(Integer userId);

    //查找数据(全)
    List<TUserRole> findAll();
}
